package de.wojenko.sps;

import java.util.List;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name="backlogItem")
public class XmlBacklogItemTaskHolder {

	private String backlogItemId;
	private List<XmlTask> tasks;
	
	@XmlElement(name="task")
	public List<XmlTask> getTasks() {
		return tasks;
	}
	
	public void setTasks(List<XmlTask> tasks) {
		this.tasks = tasks;
	}
	
	@XmlAttribute(name="id")
	public String getBacklogItemId() {
		return backlogItemId;
	}
	
	public void setBacklogItemId(String backlogItemId) {
		this.backlogItemId = backlogItemId;
	}
}
